<?php
namespace Admin\Controller;
use Think\Controller;
class GroupController extends Controller {

    public function indexAction(){
        $model=M();
        $sql="select * from grouplist";
        $groupInfo = $model->query($sql);
        $this->assign('groupInfo',$groupInfo);
        $this->display('index');
    }


}